//
//  OrderCellFrameModel.m
//  ChunLaiZhuangClient
//
//  Created by zzs on 16/3/3.
//  Copyright © 2016年 CLZ. All rights reserved.
//

#import "OrderCellFrameModel.h"

@implementation OrderCellFrameModel
-(void)setDataModel:(OrderDataModel *)dataModel{
    _dataModel=dataModel;
    int lineNum=0;
    if (dataModel.pictureArray.count%6==0) {
        lineNum=dataModel.pictureArray.count/6;
    }else{
        lineNum=dataModel.pictureArray.count/6+1;
    }
    float heigh=(SCREEN_WIDTH-38-30)/6;
    self.imageHight=6+(heigh+6);
    self.cellHeight=self.imageHight+40+172/2;

    
}
@end
